#ifndef BUFFERSETUP_H
#define BUFFERSETUP_H

#include <vector>
using namespace std;

#include <google/protobuf/message.h>
#include <google/protobuf/descriptor.h>
#include "../client/bufferDB.h"
#include <libpq-fe.h>
#include <libpq/libpq-fs.h>

using namespace google::protobuf;

class bufferSetup : public bufferDB
{
	public: 
        bufferSetup(int argc, char* argv[]);
	
        void createTableName(void);
        void determineColumnTotal(void);
        void addTableColumns(void);

        vector<string> commands_;
		string dataEntry;
		PGconn * con;
		
	private:
        string tableName;
		string fieldName;
		string results;		
};

#endif			
			

			
